package com.xuecheng.content.model.message;

import lombok.Data;
import java.time.LocalDateTime;

/**
 * 视频处理消息模型
 */
@Data
public class VideoProcessMessage {
    private String fileId;         // 文件唯一ID
    private String originalUrl;   // 原始文件URL
    private String filename;      // 文件名
    private String bucket;        // 存储桶
    private LocalDateTime createTime; // 消息创建时间

    public VideoProcessMessage() {}

    public VideoProcessMessage(String fileId, String originalUrl, String filename, String bucket) {
        this.fileId = fileId;
        this.originalUrl = originalUrl;
        this.filename = filename;
        this.bucket = bucket;
        this.createTime = LocalDateTime.now();
    }
}